all: shmread shmwrite

objects1 = shmread.o
objects2 = shmwrite.o

shmread:
	gcc -o shmread ${object1}
shmwrite:
	gcc -o shmwrite ${object2}

shmread.o:
	gcc shmread.c shmdata.h

shmwrite.o: 
	gcc shmwrite.c shmdata.h

clean:
	rm shmread shmwrite ${object1} ${object2}

#shmread:
#	gcc -o shmread shmread.c
#shmwrite:
#	gcc -o shmwrite shmwrite.c
